﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MarvellousWorks.PracticalPattern.FactoryMethod.Batch
{
    public abstract class DecisionBase
    {
        private readonly IBatchFactory _factory;
        private readonly int _quantity;

        protected DecisionBase(IBatchFactory factory, int quantity)
        {
            _factory = factory;
            _quantity = quantity;
        }

        public virtual IBatchFactory Factory { get { return _factory; } }
        public virtual int Quantity { get { return _quantity; } }
    }
}
